package com.csx.gulimall.ware.dao;

import com.csx.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 * 
 * @author chensixiang
 * @email chensixiang1234@gmail.com
 * @date 2021-07-20 12:21:46
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    void addStock(@Param("itemId") Long itemId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);
}
